# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'C:\Programming\Python\Subplot\ui\Plot_Widget.ui'
#
# Created: Thu Jun 12 15:32:42 2008
#      by: PyQt4 UI code generator 4.4.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_Plot_Widget(object):
    def setupUi(self, Plot_Widget):
        Plot_Widget.setObjectName("Plot_Widget")
        Plot_Widget.setWindowModality(QtCore.Qt.NonModal)
        Plot_Widget.resize(690,567)
        Plot_Widget.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.horizontalLayout_3 = QtGui.QHBoxLayout(Plot_Widget)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.tabWidget = QtGui.QTabWidget(Plot_Widget)
        self.tabWidget.setMaximumSize(QtCore.QSize(16777215,16777215))
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtGui.QWidget()
        self.tab.setGeometry(QtCore.QRect(0,0,666,469))
        self.tab.setObjectName("tab")
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.tab)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.mpl_widget = MPL_Widget(self.tab)
        self.mpl_widget.setObjectName("mpl_widget")
        self.horizontalLayout_2.addWidget(self.mpl_widget)
        self.tabWidget.addTab(self.tab,"")
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setGeometry(QtCore.QRect(0,0,666,450))
        self.tab_2.setObjectName("tab_2")
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.tab_2)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.tableWidget = QtGui.QTableWidget(self.tab_2)
        self.tableWidget.setObjectName("tableWidget")
        self.horizontalLayout_4.addWidget(self.tableWidget)
        self.tabWidget.addTab(self.tab_2,"")
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setGeometry(QtCore.QRect(0,0,666,450))
        self.tab_3.setObjectName("tab_3")
        self.layoutWidget = QtGui.QWidget(self.tab_3)
        self.layoutWidget.setGeometry(QtCore.QRect(20,30,82,132))
        self.layoutWidget.setObjectName("layoutWidget")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.btn_PlotOptions = QtGui.QPushButton(self.layoutWidget)
        self.btn_PlotOptions.setObjectName("btn_PlotOptions")
        self.verticalLayout_2.addWidget(self.btn_PlotOptions)
        self.btn_AutoScale = QtGui.QPushButton(self.layoutWidget)
        self.btn_AutoScale.setObjectName("btn_AutoScale")
        self.verticalLayout_2.addWidget(self.btn_AutoScale)
        self.btn_Clear = QtGui.QPushButton(self.layoutWidget)
        self.btn_Clear.setObjectName("btn_Clear")
        self.verticalLayout_2.addWidget(self.btn_Clear)
        self.btn_TestPlot = QtGui.QPushButton(self.layoutWidget)
        self.btn_TestPlot.setObjectName("btn_TestPlot")
        self.verticalLayout_2.addWidget(self.btn_TestPlot)
        self.tabWidget.addTab(self.tab_3,"")
        self.verticalLayout_3.addWidget(self.tabWidget)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
        self.verticalLayout.setObjectName("verticalLayout")
        self.lineEdit_R = QtGui.QLineEdit(Plot_Widget)
        self.lineEdit_R.setMaximumSize(QtCore.QSize(16777215,20))
        font = QtGui.QFont()
        font.setPointSize(8)
        self.lineEdit_R.setFont(font)
        self.lineEdit_R.setReadOnly(True)
        self.lineEdit_R.setObjectName("lineEdit_R")
        self.verticalLayout.addWidget(self.lineEdit_R)
        self.lineEdit_L = QtGui.QLineEdit(Plot_Widget)
        self.lineEdit_L.setMaximumSize(QtCore.QSize(16777215,20))
        font = QtGui.QFont()
        font.setPointSize(5)
        self.lineEdit_L.setFont(font)
        self.lineEdit_L.setReadOnly(True)
        self.lineEdit_L.setObjectName("lineEdit_L")
        self.verticalLayout.addWidget(self.lineEdit_L)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.btn_Help = QtGui.QPushButton(Plot_Widget)
        self.btn_Help.setMinimumSize(QtCore.QSize(15,15))
        self.btn_Help.setMaximumSize(QtCore.QSize(20,20))
        self.btn_Help.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.btn_Help.setObjectName("btn_Help")
        self.horizontalLayout.addWidget(self.btn_Help)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.horizontalLayout_3.addLayout(self.verticalLayout_3)
        self.actionAutoScale = QtGui.QAction(Plot_Widget)
        self.actionAutoScale.setObjectName("actionAutoScale")
        self.actionPlotOptions = QtGui.QAction(Plot_Widget)
        self.actionPlotOptions.setObjectName("actionPlotOptions")
        self.actionClear = QtGui.QAction(Plot_Widget)
        self.actionClear.setObjectName("actionClear")
        self.actionZoom = QtGui.QAction(Plot_Widget)
        self.actionZoom.setObjectName("actionZoom")

        self.retranslateUi(Plot_Widget)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Plot_Widget)

    def retranslateUi(self, Plot_Widget):
        Plot_Widget.setWindowTitle(QtGui.QApplication.translate("Plot_Widget", "Plot Widget", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("Plot_Widget", "Plot", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget.setRowCount(500)
        self.tableWidget.setColumnCount(10)
        self.tableWidget.clear()
        self.tableWidget.setColumnCount(10)
        self.tableWidget.setRowCount(500)
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("Plot_Widget", "Data", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_PlotOptions.setText(QtGui.QApplication.translate("Plot_Widget", "Plot Options", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_PlotOptions.setShortcut(QtGui.QApplication.translate("Plot_Widget", "Ctrl+T", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_AutoScale.setText(QtGui.QApplication.translate("Plot_Widget", "Autoscale", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_AutoScale.setShortcut(QtGui.QApplication.translate("Plot_Widget", "Ctrl+A", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_Clear.setText(QtGui.QApplication.translate("Plot_Widget", "Clear Plot", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_Clear.setShortcut(QtGui.QApplication.translate("Plot_Widget", "Ctrl+Shift+X", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_TestPlot.setText(QtGui.QApplication.translate("Plot_Widget", "Test Plot", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QtGui.QApplication.translate("Plot_Widget", "Functions", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_Help.setToolTip(QtGui.QApplication.translate("Plot_Widget", "Plot Help", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_Help.setStatusTip(QtGui.QApplication.translate("Plot_Widget", "Plot Help", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_Help.setWhatsThis(QtGui.QApplication.translate("Plot_Widget", "Click for Plot Help", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_Help.setText(QtGui.QApplication.translate("Plot_Widget", "?", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAutoScale.setText(QtGui.QApplication.translate("Plot_Widget", "AutoScale", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAutoScale.setShortcut(QtGui.QApplication.translate("Plot_Widget", "Ctrl+A", None, QtGui.QApplication.UnicodeUTF8))
        self.actionPlotOptions.setText(QtGui.QApplication.translate("Plot_Widget", "PlotOptions", None, QtGui.QApplication.UnicodeUTF8))
        self.actionPlotOptions.setShortcut(QtGui.QApplication.translate("Plot_Widget", "Ctrl+T", None, QtGui.QApplication.UnicodeUTF8))
        self.actionClear.setText(QtGui.QApplication.translate("Plot_Widget", "Clear", None, QtGui.QApplication.UnicodeUTF8))
        self.actionClear.setShortcut(QtGui.QApplication.translate("Plot_Widget", "Ctrl+Shift+X", None, QtGui.QApplication.UnicodeUTF8))
        self.actionZoom.setText(QtGui.QApplication.translate("Plot_Widget", "Zoom", None, QtGui.QApplication.UnicodeUTF8))
        self.actionZoom.setShortcut(QtGui.QApplication.translate("Plot_Widget", "Ctrl+Z", None, QtGui.QApplication.UnicodeUTF8))

from mpl_custom_widget import MPL_Widget

if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    Plot_Widget = QtGui.QWidget()
    ui = Ui_Plot_Widget()
    ui.setupUi(Plot_Widget)
    Plot_Widget.show()
    sys.exit(app.exec_())

